package com.seeyon.apps.kkSample.po;

import java.util.Map;

/**
 * @Author: L
 * @Description: 公共的响应参数
 * @Date: 创建于10:18 2022-10-24
 **/
public class SHKKResult {

    //业务码
    private int code;
    //业务信息
    private String message;
    //业务数据
    private Map<String, Object> data;

    public SHKKResult() {
    }

    public SHKKResult(Map<String, Object> data) {
        this.data = data;
    }

    public SHKKResult(int errCode, String message, Map<String, Object> data) {
        this.code = errCode;
        this.message = message;
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Map<String, Object> getData() {
        return data;
    }

    public void setData(Map<String, Object> data) {
        this.data = data;
    }
}
